﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using AlmaDatabase;

namespace Alma.Models
{
    public class CriterionModel
    {
        public long ID { get; set; }
        public long ID_Product { get; set; }
        public string Name { get; set; }
        public string Unit { get; set; }

        public CriterionModel()
        {
        }

        public CriterionModel(Criterion criterion)
        {
            ID = criterion.ID;
            Name = criterion.Name;
            Unit = criterion.Unit;
        }
    }

    public class CriterionModelList
    {
        public List<CriterionModel> List { get; set; }

        public CriterionModelList()
        {
            List = new List<CriterionModel>();
        }
    }
}